package com.design.adapter;

/**
* Description: 适配模式<br/>
* date: 2023/11/24 10:36<br/>
* @author: zhangzaijun <br/>
* @since JDK 1.8
*/

public class AdapterMain {
    public static void main(String[] args) {
        AudioPlayer audioPlayer = new AudioPlayer();

        audioPlayer.play("mp3", "ldh.mp3");
        audioPlayer.play("vlc", "oold.vlc");
        audioPlayer.play("mp4","zjl.mp4");
        audioPlayer.play("audio","fff.audio");
    }
}
